package com.happy.mapper;

import com.happy.pojo.HpGoods;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsMapper {
    @Select("SELECT * FROM hp_goods WHERE id = #{id}")
    HpGoods find(@Param("id") int id);
}
